﻿using System;

namespace ComputerVision.Common
{
    public class VideoDevice
    {
        public string DeviceName;
        public int DeviceId;
        public Guid Identifier;

        public VideoDevice(int id, string name, Guid identity = new Guid())
        {
            DeviceId = id;
            DeviceName = name;
            Identifier = identity;
        }

        /// <summary>
        /// Represent the Device as a String
        /// </summary>
        /// <returns>The string representation of this color</returns>
        public override string ToString()
        {
            return String.Format("[{0}] {1}: {2}", DeviceId, DeviceName, Identifier);
        }
    }
}